#ifndef _BANG_H_
#define _BANG_H_

#define MAX_FPS 0.04
#define DEBUG 0

typedef struct _Config Config;
typedef struct _Bang Bang;

Bang *bang;
E_Dialog *error_dialog;


/* The core of bang */
struct _Bang
{
   E_Module *module;
   Config *config;
   E_Config_DD *conf_edd;
   E_Config_Dialog *config_dialog;
    
   Eina_List *displays;
   Eina_List *handlers;
   Eina_List *plugins;
   Ecore_Timer *fps_timer;
   
   int shoutdown;
   
   char *programName;
   
   Ecore_X_Window root;
   CompScreen *comp_screen;
};




EAPI int bang_composite_init(Bang *b);
EAPI void bang_composite_shoutdown(Bang *b);

EAPI void bang_redraw(int force);


#endif
